﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Core.Device
{
    public interface IDeviceInteraction<T> : IDevice
    {
        bool WriteSingle(T address, object value, int length);

        TValue ReadSingle<TValue>(T address, int length);
    }
}
